package com.yu.processor;

import java.lang.reflect.Method;

// aop代理执行处理器
public class AspectProcessor {
    private Object aspectBean;
    private Method aspectMethod;

    public AspectProcessor(Object aspectBean, Method aspectMethod) {
        this.aspectBean = aspectBean;
        this.aspectMethod = aspectMethod;
    }

    public AspectProcessor() {
    }

    public Object getAspectBean() {
        return aspectBean;
    }

    public void setAspectBean(Object aspectBean) {
        this.aspectBean = aspectBean;
    }

    public Method getAspectMethod() {
        return aspectMethod;
    }

    public void setAspectMethod(Method aspectMethod) {
        this.aspectMethod = aspectMethod;
    }

}
